package com.reggie.common;

public class ReggieConstants {

    /**
     * 系统员工默认密码
     */
    public static final String DEFAULT_PWD = "123456";

    /**
     * 员工登录session存储的key
     */
    public static final String EMP_SESSION_KEY = "employee";
    public static final String ADMIN_KEY = "admin";
    public static final String USER_SESSION_KEY = "user";

    /**
     * 跟前端的约定，返回这个值作为没有登录的依据
     */
    public static final String NOT_LOGIN_KEY = "NOTLOGIN";
    /**
     * 图片存储路径
     */
    public static final String IMG_PATH = System.getProperty("user.dir") + "/imgs/";
    /**
     * 验证码redis存储头
     */
    public static final String USER_CODE_REDIS_PREFIX="userCode:";
    /**
     * 菜品缓存存储头
     */
    public static final String DISH_LIST_REDIS_PREFIX="dish:";
}
